package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("pt_ws_message")
public class PtWsMessage {

    @TableId
    private Long id;

    @TableField(value = "product_user")
    private String productUser;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "product_time")
    private Date productTime;

    @TableField(value = "consumer")
    private String consumer;

    @TableField(value = "consumer_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date consumerTime;

    @TableField(value = "status")
    private Boolean status;
}
